<%@ page language="java" import="java.util.*" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file= "/WEB-INF/pages/base/commImportPage.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>历史查询</title>
	<link rel="stylesheet" type="text/css" href="${resourcePath}/css/guandaoqingli/pig.css">
	<script src='${resourcePath}/js/comm/build.js' type='text/javascript'></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/pig/cleanPipeLineHistory.js"></script>
	<style>
		.jl_00{
			display: inline-block;
		    width: 28px;
		    height: 28px;
		    vertical-align: middle;
		    background: url("${resourcePath}/images/guandaoqingli/Invoice.png") no-repeat center center;
		}
		.download_00 {
			display: inline-block;
			width: 25px;
			height: 25px;
			vertical-align: middle;
			background: url("${resourcePath}/images/comm/download.png") no-repeat center center;
		}
		
		.download_00:hover{
			border-radius:80px; background:url("${resourcePath}/images/comm/download_hover.png") #F95F5F no-repeat center center;
		}
		.jl_00:hover{
			background:url("${resourcePath}/images/guandaoqingli/jl.png") no-repeat center center;
		}
	</style>
</head>
<body class="body-pad" style="padding-bottom:100px;">
	<input type="hidden" id="taskId" value="${taskId}"/>
	<input type="hidden" id="pagePath" value="${pageContext.request.contextPath}"/>
	<input type="hidden" id="resourcePath" value="${resourcePath}"/>
<div class="html-header">
    <p class="header-title"  style="padding-top:0px;">历史查询</p>
</div>
<div class="container-fluid warp insp-container">
    <div class="row-fluid  bg-white1">
        <div class="main clearFix">
            <div class="se-bt clearFix">
                <div class="sel w305">
                    <i class="d-name">管道名称 <span></span></i>
                    <div class="dropdown-list">
                        <div class="drop-list drop-list-min">
                            <div class="checked w270" id="lineDiv">
                                <a href="javascript:void(0);" id="gdmc">管道名称</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width:294px;">
                            <c:forEach items="${requestScope.pipeLine}" var="line">
	                        	<li onclick="getInspSegment('${line.id}')" ><a href="javascript:void(0);" id="${line.id }" >${line.name}</a></li>
	                        </c:forEach>
                        </ul>
                    </div>
                </div>
                <div class="sel w305">
                    <i class="d-name">管段名称<span></span></i>
                    <div class="dropdown-list">
                        <div class="drop-list drop-list-min">
                            <div class="checked w270" id="segmentDiv">
                                <a href="javascript:void(0);" id="jcgdmc">管段名称</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width:294px;" id="inspSegment">
                            
                        </ul>
                    </div>
                </div>
                <div class="sel w305">
                    <i class="d-name">清管类型 <span></span></i>
                    <div class="dropdown-list">
                        <div class="drop-list drop-list-min">
                            <div class="checked w270" id="toolDiv">
                                <a href="javascript:void(0);" id="qglx">清管类型</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width:294px;">
                             <c:forEach items="${requestScope.code}" var="code">
	                        	<li onclick="changeMark();"><a href="javascript:void(0);" id="${code.id }" >${code.name}</a></li>
	                        </c:forEach>
                        </ul>
                    </div>
                </div>
                <div class="sel w305" style="margin-bottom:0px;">
                    <i class="d-name">实际清管时间</i>
                    <span class="time" style="float:left"><input id="begTime" onclick="laydate({elem: '#begTime',format: 'YYYY-MM-DD'})" class="laydate-icon"/><em onclick="laydate({elem: '#begTime',format: 'YYYY-MM-DD'})"></em></span>
                    <span class="fg">-</span>
                    <span class="time"style="float:left;margin-left:0" ><input id="endTime" onclick="laydate({elem: '#endTime',format: 'YYYY-MM-DD'})" class="laydate-icon"/><em onclick="laydate({elem: '#endTime',format: 'YYYY-MM-DD'})"></em></span>
                </div>
                <a href="javascript:void(0)" class="btn btn-w100 btn-search-icon btn-h30" style="float:left" onclick="searchFun();">查询</a>

            </div>
            <div class="l-r clearFix pad20">
                <p class="tool pad20 w200" id="evluationId">
                    <a href="javascript:;" onclick="goEvluation();" class="btn btn-evaluate-icon1">评价<em></em></a>
                </p>
                <div id="historyTable"></div>
            </div>
        </div>
    </div>
</div>
<form action="${pageContext.request.contextPath}/cleanTask/cleanPipeLineHistory/goEvluation.html" method="post" >
	<input type="hidden" name="ids"/>
</form>
</body>
</html>